﻿using GalaSoft.MvvmLight;
using System;
using System.Collections.Generic;
using System.Text;

namespace BuyingSpree_HPV.Model
{
    public class Member: ViewModelBase
    {
        public int id { get; set; }
        public int userId { get; set; }
        public string name { get; set; }
        public string idCardNo { get; set; }
        public string birthday { get; set; }
        public int sex { get; set; }
        public string regionCode { get; set; }
        public string address { get; set; }
        public int isDefault { get; set; }
        public int relationType { get; set; }
        public string createTime { get; set; }
        public string modifyTime { get; set; }
        public int yn { get; set; }

        private bool _isSelected;
        public bool IsSelected
        {
            get { return _isSelected; }
            set
            {
                _isSelected = value;
                RaisePropertyChanged();
            }
        }
    }
}
